package ui;

import java.awt.image.BufferedImage;
import java.util.Random;

public class EnemyPlane {
    int x;
    int y;
    BufferedImage image;

    public EnemyPlane() {
        Random random = new Random();
        int i = random.nextInt(15) + 1;
        String j = (i<10)?("0"+i):(""+i);
        String name = "ep" + j +".png";
        image = GetImg.getImg(name);

        y = 0;
        x = random.nextInt(512-image.getWidth());
    }
}
